<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>Blank Page - Ace Admin</title>

    [#include "/admin/common/commonurl.html"]
    <style type="text/css">
        .titleinfo {
            width: 60px;
        }
    </style>
</head>

<body class="no-skin">
<div id="navbar" class="navbar navbar-default">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    [#include "/admin/common/navbar.html"]

    <!-- /.navbar-container -->
</div>

<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <div id="sidebar" class="sidebar                  responsive">
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'fixed')
            } catch (e) {
            }
        </script>
        [#include "/admin/common/shortcuts.html"]
        <!-- /.sidebar-shortcuts -->

        <!-- .nav-list -->
        [#include "/admin/common/commonmenu.html"]
        <ul class="nav nav-list">
            [@menustag id=1]
            [#list list as item]
            [@menu item "1,44,48"]
            [/@menu]
            [/#list]
            [/@menustag]
        </ul>
        <!-- /.nav-list -->

        <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
            <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left"
               data-icon2="ace-icon fa fa-angle-double-right"></i>
        </div>

        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'collapsed')
            } catch (e) {
            }
        </script>
    </div>

    <div class="main-content">
        <div class="breadcrumbs" id="breadcrumbs">
            <script type="text/javascript">
                try {
                    ace.settings.check('breadcrumbs', 'fixed')
                } catch (e) {
                }
            </script>

            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a href="#">首页</a>
                </li>

                <li class="active">欢迎光临</li>
            </ul>
            <!-- /.breadcrumb -->

            <div class="nav-search" id="nav-search">
                <form class="form-search">
							<span class="input-icon">
								<input type="text" placeholder="Search ..." class="nav-search-input"
                                       id="nav-search-input" autocomplete="off"/>
								<i class="ace-icon fa fa-search nav-search-icon"></i>
							</span>
                </form>
            </div>
            <!-- /.nav-search -->
        </div>


        <div class="page-content">
            <!-- /.page-header -->
            <div class="row">
                <div class="col-xs-12">
                    <div class="table-responsive">
                        <table class="table table-striped table-bordered table-hover">
                            <tr>
                                <td class="col-xs-1">商家名称</td>
                                <td class="col-xs-3">地址</td>
                                <td class="col-xs-2">电话</td>
                                <td class="col-xs-1">人均消费</td>
                                <td class="col-xs-2 text-center">操作</td>
                            </tr>
                            [#list list as item]
                            <tr id="trr${item.id}">
                                <td>${item.name!""}</td>
                                <td>${item.address!""}</td>
                                <td>${item.phone!""}</td>
                                <td>${item.price!""}</td>
                                <td class="text-center">
                                    <div
                                            class="visible-md visible-lg hidden-sm hidden-xs btn-group">

                                        <a href="${siteurl}/admin/shop/view_update.htm?id=${item.id}">
                                            <button class="btn btn-xs btn-info">
                                                <i class="icon-edit bigger-120">审核</i>
                                            </button>
                                        </a> <a
                                            href="${siteurl}/admin/shop/model_delete.htm?typeid=${item.id}&curpage=${curpage}">
                                        <button class="btn btn-xs btn-danger">
                                            <i class="icon-trash bigger-120">删除</i>
                                        </button>
                                    </a>
                                    </div>
                                </td>
                            </tr>
                            [/#list]
                        </table>
                    </div>

                    [#include "/admin/common/page.html"]
                    [@pager page curpage "${siteurl}/admin/shop/list.htm?pagesize=10"][/@pager]


                </div>
            </div>


        </div>
    </div>
    <!-- /.main-content -->

    [#include "/admin/common/footer.html"]

</div>
<!-- /.main-container -->

<!-- basic scripts -->

[#include "/admin/common/scripts.html"]

<!-- inline scripts related to this page -->
</body>
</html>
